﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Net.Fan.SmallPig.Common;

public partial class Main : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (this.User.Identity.IsAuthenticated)
        {
            pnlWelcome.Visible = true;
        }
        else
        {
            pnlWelcome.Visible = false;
        }

        labTitle.Text = Config.Instance.WebTitle;
        pWebDesc.InnerHtml = Config.Instance.WebDescription;
    }
}
